import { createRouter, createWebHashHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import LoginedView from '@/views/LoginedView.vue'
import MassageView from '@/views/MassageView.vue'
import DataView from '@/views/DataView.vue'




const routes = [
  //主界面
  {
    path: '/',
    name: 'home',
    component: HomeView
  },
  //数据大厅界面
  {
    path: '/data',
    name: 'data',
    component: DataView
  },
  //用户登录界面
  {
    path: '/logined',
    name: 'logined',
    component: LoginedView
  },

  //消息通知界面
  {
    path: '/message',
    name:'message',
    component: MassageView
  },

  
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
